package com.itheima.ydd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class YddLink {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private String title;

    private String url;

    private String des;

    private String img;

    //1是图片链接， 2是文字链接
    private Integer type;

    //是否为默认数据null为不是，1表示是
    private Integer defaultData;
}
